<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title></title>
    <link rel="stylesheet" href="css/umeditor.css"/>
</head>
<body ng-app="app">
<div class="all" style="margin-top:30px;" ng-controller="editorCtrl">
    <div type="text/html" style="margin: 0 auto;height:300px;width:1200px;"
         ng-model="CompleteModel.text"
         meta-umeditor
         meta-umeditor-config='config'
         >
    </div>
    <div style="margin-top:50px;">编辑完成后，把内容的html格式保存在数据库。
        <button ng-click="showContent()">把内容的html格式显示在控制台上</button>
    </div>
</div>
<script src="http://lib.sinaapp.com/js/jquery/1.8/jquery.min.js"></script>
<script src="js/angular.min.js"></script>
<script src="js/umeditor.js"></script>
<script src="js/umeditor.config.js"></script>
<script src="js/app.js"></script>
<script src="js/directive.js"></script>
</body>
</html>